
/*
 * Copyright (C) 2009 Archie L. Cobbs. All rights reserved.
 *
 * $Id: DateFieldModel.java 166 2009-11-10 00:58:44Z archie.cobbs $
 */

package org.dellroad.sidekar.schema.model;

/**
 * Date schema type.
 */
public class DateFieldModel extends AtomicFieldModel {

    public static final String NAME = "date";

    // Normal constructor
    public DateFieldModel() {
        super(NAME);
    }

    // Copy constructor
    DateFieldModel(DateFieldModel original) {
        super(original);
    }

    @Override
    public <R> R visit(FieldModelSwitch<R> sw) {
        return sw.caseDateFieldModel(this);
    }
}

